﻿<Window
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:local="clr-namespace:Faust.Andrew.MTG.Player"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	x:Class="Faust.Andrew.MTG.Player.JoinGameConfigurationWindow"
	x:Name="Window"
	Title="Join Game" Background="{DynamicResource WindowBackground}" mc:Ignorable="d" Padding="5" Width="616" ResizeMode="CanResizeWithGrip" SizeToContent="WidthAndHeight" Icon="MTGManagerIcon.ico">

	<Grid x:Name="LayoutRoot" Margin="5">
		<Grid.RowDefinitions>
			<RowDefinition Height="*"/>
			<RowDefinition Height="Auto" />
		</Grid.RowDefinitions>
		<local:JoinGameConfigurationControl x:Name="joinConfiguration" Margin="0,0,0,5" d:LayoutOverrides="Height"/>
		<StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0">
			<Button x:Name="btnCancel" Content="Cancel" IsCancel="True" Margin="0,0,10,0" Width="75" Click="btnCancel_Click"/>
			<Button x:Name="btnOK" Content="OK" IsDefault="True" Width="75" Click="btnOK_Click"/>
		</StackPanel>
	</Grid>
</Window>